﻿using DevExpress.ExpressApp.DC;
using System.ComponentModel;

namespace EasyXaf.EntityDesigner.BusinessObjects.Entities.Associations;

/// <summary>
/// 关系类型
/// </summary>
[Description("关系类型")]
public enum AssociationType
{
	/// <summary>
	/// 一对一
	/// </summary>
	[XafDisplayName("一对一")]
	OneToOne,

	/// <summary>
	/// 一对多
	/// </summary>
	[XafDisplayName("一对多")]
	OneToMany,

	/// <summary>
	/// 多对多
	/// </summary>
	[XafDisplayName("多对多")]
	ManyToMany,
}
